import _fatch from '@/api/request'
function getBusiness (data) {
  return _fatch({
    url: '/enterprise/list',
    params: data
  })
}
function setBusinessStatus(data){
  return _fatch({
    url:'/enterprise/status',
    method: 'post',
    data  
  })
}
function addBusiness (data) {
  return _fatch({
    url: '/subject/add',
    method: 'post',
    data
  })
}
function editBusiness (data) {
  return _fatch({
    url: '/subject/edit',
    method: 'post',
    data
  })
}
function removeBusiness (data) {
  return _fatch({
    url: '/subject/remove',
    method: 'post',
    data
  })
}
export { getBusiness, setBusinessStatus, addBusiness, editBusiness, removeBusiness}
